//
//  Person.swift
//  FoodTracker
//
//  Created by 沈礼 on 15/9/19.
//  Copyright © 2015年 shenli. All rights reserved.
//

import UIKit

class Person {
    
    var name: String;
    var age: Int;
    var photo: UIImage?;
    
    init?(name:String, age: Int, photo: UIImage?) {
        
        self.name = name;
        self.age = age;
        self.photo = photo;
        
        if name.isEmpty {
            return nil;
        }
        
    }
}
